Skip to main content

Cast

Cast[val,type] converts val to the type type, for use in compiled code.

Cast[val,type,method] uses the specified casting method.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.